package com.zxbg.service.systemtoolsService;

import com.zxbg.domain.Role;

import java.util.List;
import java.util.Map;
import java.util.Set;

public interface RoleManagementService {
    public List<Role> getAllRole(Map<String, Object> search_info, Integer tenant_id);

    public String addRole(Role role);

    public boolean editRole(Role role);

    public boolean stopRole(String code, Integer tenant_id);

    public boolean runRole(String code, Integer tenant_id);

    public boolean deleteRole(String code, Integer tenant_id);

    public Map<String, Set> getAllAuth(String employee_id, Integer tenant_id);

    public boolean getIfSysadmin(String employee_id, Integer tenant_id);
}
